package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_school")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SchoolModel {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String schoolName;//名称
    private String introduce;//简介

    private String logo;//封面地址

    private String crtTime;//创建时间

    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer limit;



}
